import type * as Record from '@/api/record/types/record'
import { request } from '@/utils/service'

export function queryBikeLongTermOperation(data: Record.queryBikeLongTermOperationRequestData) {
  return request<Record.queryBikeLongTermOperationResponse>({
    url: '/queryBikeLongTermOperation',
    method: 'post',
    data
  })
}
export function queryBikeShortTermOperation(data: Record.queryBikeShortTermOperationRequestData) {
  return request<Record.queryBikeShortTermOperationResponse>({
    url: '/queryBikeShortTermOperation',
    method: 'post',
    data
  })
}

export function queryBoxOperation(data: Record.queryBoxOperationRequestData) {
  return request<Record.queryBoxOperationResponse>({
    url: '/queryBoxOperation',
    method: 'post',
    data
  })
}
export function queryOrderChangeLog(data: Record.queryOrderChangeLogRequestData) {
  return request<Record.queryOrderChangeLogResponse>({
    url: '/queryOrderChangeLog',
    method: 'post',
    data
  })
}
export function queryFeeChangeLog(data: Record.queryFeeChangeLogRequestData) {
  return request<Record.queryFeeChangeLogResponse>({
    url: '/queryFeeChangeLog',
    method: 'post',
    data
  })
}
